<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
	<head>
		<title>Cadastro de Despesa</title>
	</head>
	
	<body>
		<form action="cadastroDespesa" method="post">
			Tipo Despesa
				<SELECT NAME="depesaTipoDespesa">
					<c:forEach var="TipoDespesa" items="${listaTipoDespesa}">
			 			<option value="${TipoDespesa.id}"> ${TipoDespesa.nome}</option>
			 		</c:forEach>
				</SELECT><br>
			
			Nome Despesa: <input type="text" name="despesaNome"><br>
				<input type="submit" value="Cancela" name="botaoCancelar">
				<input type="submit" value="Cadastrar" name="botaoCadastrar">
		</form>
	</body>
</HTML>